#include <iostream>

using namespace std;

int count_word_num(char * str)
{
	int num = 0;
	char current, prev = '\0';

	if (!str) return 0;
	while (current = *str++) {
		if (' ' == current) {
			if (prev && (prev != ' ')) num++;
		} else {
	/* Some meaningful alpha for word, let it go~ */
		} 
		prev = current;
	}
	if (prev && (prev != ' ')) num++;
	return num;
}

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}
